VSFW\Utils\Query_Builder D

Total Complexity 126
Dependencies 3
Dependents 2
Total lines 1,024
Lines of code 475
Logical lines of code 271
Comment lines 376
Methods 38
Properties 13

Methods 38

Method Rating Maintainability Complexity Lines of code
with()
B
44 17 46
to_sql()
B
41 16 54
compile_wheres()
A
45 9 43
load_relations()
A
52 9 25
count_distinct()
A
49 8 31
count()
S
51 7 26
sum()
S
51 7 26
update()
S
56 4 17
with_relation_columns()
S
60 4 13
get()
S
58 3 16
simple_paginate()
S
62 3 11
compile_orders()
S
62 3 11
compile_groups()
S
62 3 11
where()
S
60 2 14
order_by()
S
68 2 7
select()
S
75 2 4
first()
S
74 2 4
first_or_fail()
S
69 2 7
paginate()
S
66 2 8
delete()
S
65 2 9
group_by()
S
67 2 8
__construct()
S
81 1 3
or_where()
S
78 1 3
where_in()
S
65 1 9
where_not_in()
S
65 1 9
where_null()
S
67 1 8
where_not_null()
S
67 1 8
order_by_raw()
S
71 1 6
limit()
S
77 1 4
take()
S
80 1 3
offset()
S
77 1 4
skip()
S
80 1 3
select_raw()
S
77 1 4
as_alias()
S
77 1 4
get_raw()
S
73 1 5
exists()
S
80 1 3
where_raw()
S
76 1 4
join_raw()
S
76 1 4